def fib(max):
    n, a, b = 0, 0, 1
    while n < max:
        print(b)
        a, b = b, a+b  # 相当于tuple=(b,a+b),a=tuple[0],b=tuple[1]
        n += 1
    return 'done'


print(fib(10))
